package com.my.study;

import com.my.study.bean.People;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author Carlos
 * @version 1.0
 * @Description 启动类
 * @date 2021/11/7 20:12
 **/
@SpringBootApplication
public class MainApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(MainApplication.class, args);
//
//        String[] people = context.getBeanNamesForType(People.class);
//        System.out.println(people.length);

    }

}
